import React, { Component } from 'react'
import {NavLink} from 'react-router-dom'
export default class MyNavLink extends Component {
    render() {
        const {to,title} =this.props 
        //里面的children属性是标签的值
        return (
            <NavLink activeClassName='gaoliang' className='list-group-item' {...this.props}></NavLink>
        )
    }
}
